package com.example.solrdemo.entity;

import org.apache.solr.client.solrj.beans.Field;

import java.io.Serializable;

/**
 * 商品表
 */
public class Shop implements Serializable {
    @Field("item_id")
    private String id;
    @Field("item_name")
    private String name;
    @Field("item_price")
    private Double price;
    @Field("item_title")
    private String title;
    @Field("item_detail")
    private String detail;
    @Field("item_attribute")
    private String attributes;
    @Field("item_specifications")
    private String specifications;
    @Field("item_brand")
    private String brand;
    @Field("item_syn")
    private String keySyn;

    public String getKeySyn() {
        return keySyn;
    }

    public void setKeySyn(String keySyn) {
        this.keySyn = keySyn;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getAttributes() {
        return attributes;
    }

    public void setAttributes(String attributes) {
        this.attributes = attributes;
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }
}
